import Service from "./config"

// 封装get请求
const zlhGet = (config)=>{
    return Service({
        ...config,
        method:'get',
        params:config.data
    })
}

// 封装post请求
const zlhPost = (config)=>{
    return Service({
        ...config,
        method:'post',
        data:config.data
    })
}

export default {
    zlhGet,
    zlhPost
}

